-- CALC_HERO_RELIC_BONUS

-- 遗物奖励
-- @classId 使用的物品
-- @seed 随机数
return function(classId, seed)

    -- 神器系别
    local department = ArtifactM.getDepartmentByRelicId(classId);

    local pieces = ArtifactM.getIdsByDepartment(department);
    local bonusId = pieces[1 + seed % #pieces];

    return { 1, bonusId + 200, 5 };
end
